<template>
  <h3>{{obj.name}}</h3>
</template>
<script>
    // 引入新特性
    import {ref,reactive,readonly} from 'vue'
    export default{
        name:'Vue3Index2',
        setup() {
            // 创建响应式数据
            var obj=reactive({name:"张三"})
        }
    }
</script>